package com.xxq.semester.service.classmgmt;

import com.xxq.semester.entity.classmgmt.Classes;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
public interface IClassesService extends IService<Classes> {
    Boolean createClass(Classes classes);
    Boolean updateClassById(Classes classes);
    Boolean deleteClassById(Integer classId);
    Classes getClassById(Integer classId);
    List<Classes> getAllClasses();
    Integer getTeacherIdByClassId(Integer teacherId);
}
